<template>
  <div style="overflow: auto;height: 100%">
    <n-code :code="result"
            language="java"
            :show-line-numbers="true">
    </n-code>
  </div>
</template>

<script setup>
import {state} from '@/utils/he-store.js'
import {render} from '@/utils/he-util.js'

const result = computed(() => render('art', state.tmpl, state.data))
</script>

<style lang="scss" scoped>

</style>